package org.tigris.subversion.svnant.commands;

import java.io.File;
import org.tigris.subversion.svnclientadapter.ISVNClientAdapter;
import org.tigris.subversion.svnclientadapter.SVNClientException;
import org.tigris.subversion.svnclientadapter.SVNKeywords;

public class Keywordsremove extends Keywords
{
  private static final String MSG_CANT_REMOVE_KEYWORDS = "Can't remove keywords from file %s";

  protected void handleDir(File paramFile, boolean paramBoolean)
  {
    keywordsRemove(paramFile, this.keywords);
  }

  protected void handleFile(File paramFile)
  {
    keywordsRemove(paramFile, this.keywords);
  }

  private void keywordsRemove(File paramFile, SVNKeywords paramSVNKeywords)
  {
    try
    {
      getClient().removeKeywords(paramFile, paramSVNKeywords);
    }
    catch (SVNClientException localSVNClientException)
    {
      throw ex(localSVNClientException, "Can't remove keywords from file %s", new Object[] { paramFile.toString() });
    }
  }
}

/* Location:           C:\Users\Administrator\Desktop\svnant.jar
 * Qualified Name:     org.tigris.subversion.svnant.commands.Keywordsremove
 * JD-Core Version:    0.6.0
 */